/**
 * 
 */
package com.dongzhi.guestbook.manager.impl;

import java.util.List;

import com.dongzhi.guestbook.dao.GuestbookDAO;
import com.dongzhi.guestbook.manager.IGuestbookManager;

/**
 * @author yanzhid
 * 
 */
public class GuestbookManagerImpl implements IGuestbookManager {
	private GuestbookDAO guestbookDAO;

	public void setGuestbookDAO(GuestbookDAO guestbookDAO) {
		this.guestbookDAO = guestbookDAO;
	}

	public List getItemsByPage(int pageNum, int pageSize) {
		return guestbookDAO.getItemsByPage(pageNum, pageSize);
	}
}
